// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

import React from 'react';

type SvgProps = {
    width?: number;
    height?: number;
}

export default (props: SvgProps) => (
    <svg
        width={props.width ? props.width.toString() : '104'}
        height={props.height ? props.height.toString() : '104'}
        fill='var(--center-channel-bg)'
        viewBox='0 0 104 104'
        xmlns='http://www.w3.org/2000/svg'
    >
        <g clipPath='url(#clip0_615_72261)'>
            <path
                d='M52.2541 30.6352H79.2974C80.1074 30.6294 80.9106 30.7851 81.6608 31.0932C82.411 31.4013 83.0935 31.8559 83.6691 32.4308C84.2448 33.0057 84.7022 33.6896 85.0152 34.4433C85.3282 35.197 85.4905 36.0056 85.4929 36.8228V65.117C85.4897 65.9336 85.3267 66.7415 85.0134 67.4945C84.7001 68.2475 84.2425 68.9306 83.6669 69.5049C83.0914 70.0791 82.4092 70.5331 81.6594 70.8409C80.9096 71.1486 80.1069 71.3041 79.2974 71.2983H72.7922V81.9235L63.0219 71.2983H52.2541C51.4446 71.3041 50.642 71.1486 49.8922 70.8409C49.1424 70.5331 48.4601 70.0791 47.8846 69.5049C47.309 68.9306 46.8515 68.2475 46.5381 67.4945C46.2248 66.7415 46.0618 65.9336 46.0586 65.117V36.8228C46.061 36.0056 46.2234 35.197 46.5364 34.4433C46.8493 33.6896 47.3068 33.0057 47.8824 32.4308C48.458 31.8559 49.1405 31.4013 49.8907 31.0932C50.6409 30.7851 51.4441 30.6294 52.2541 30.6352Z'
                fill='#1E325C'
            />
            <path
                d='M68.7899 22.1288H24.6779C23.8679 22.1231 23.0648 22.2787 22.3146 22.5869C21.5644 22.895 20.8819 23.3496 20.3062 23.9245C19.7306 24.4994 19.2732 25.1833 18.9602 25.937C18.6472 26.6907 18.4848 27.4993 18.4824 28.3164V56.5856C18.4857 57.4022 18.6486 58.2102 18.962 58.9631C19.2753 59.7161 19.7329 60.3993 20.3084 60.9735C20.884 61.5478 21.5662 62.0018 22.316 62.3095C23.0658 62.6173 23.8685 62.7727 24.6779 62.7669H31.1894V73.3921L40.9597 62.7669H68.7899C69.5994 62.7727 70.402 62.6173 71.1518 62.3095C71.9016 62.0018 72.5838 61.5478 73.1594 60.9735C73.7349 60.3993 74.1925 59.7161 74.5058 58.9631C74.8192 58.2102 74.9821 57.4022 74.9854 56.5856V28.3164C74.983 27.4993 74.8206 26.6907 74.5076 25.937C74.1946 25.1833 73.7372 24.4994 73.1616 23.9245C72.5859 23.3496 71.9034 22.895 71.1532 22.5869C70.403 22.2787 69.5999 22.1231 68.7899 22.1288Z'
                fill='#FFBC1F'
            />
            <path
                d='M31.6839 38.4102C32.4698 38.4089 33.2385 38.643 33.8925 39.0827C34.5466 39.5225 35.0565 40.1481 35.3579 40.8804C35.6592 41.6128 35.7384 42.4188 35.5854 43.1965C35.4323 43.9743 35.054 44.6887 34.4982 45.2494C33.9424 45.81 33.2342 46.1917 32.4633 46.3461C31.6924 46.5005 30.8934 46.4206 30.1674 46.1166C29.4415 45.8126 28.8214 45.2982 28.3855 44.6384C27.9496 43.9786 27.7175 43.2031 27.7188 42.4102C27.7204 41.3499 28.1387 40.3334 28.8819 39.5836C29.6252 38.8338 30.6328 38.4118 31.6839 38.4102Z'
                fill='white'
            />
            <path
                d='M46.7464 38.4102C47.5323 38.4089 48.301 38.643 48.955 39.0827C49.6091 39.5225 50.119 40.1481 50.4204 40.8804C50.7217 41.6128 50.8009 42.4188 50.6479 43.1965C50.4948 43.9743 50.1165 44.6887 49.5607 45.2494C49.0049 45.81 48.2968 46.1917 47.5258 46.3461C46.7549 46.5005 45.9559 46.4206 45.2299 46.1166C44.504 45.8126 43.8839 45.2982 43.448 44.6384C43.0121 43.9786 42.78 43.2031 42.7813 42.4102C42.7829 41.3499 43.2012 40.3334 43.9444 39.5836C44.6877 38.8338 45.6953 38.4118 46.7464 38.4102Z'
                fill='white'
            />
            <path
                d='M61.8069 38.4102C62.5929 38.4089 63.3616 38.643 64.0156 39.0827C64.6696 39.5225 65.1796 40.1481 65.4809 40.8804C65.7823 41.6128 65.8615 42.4188 65.7084 43.1965C65.5554 43.9743 65.177 44.6887 64.6212 45.2494C64.0655 45.81 63.3573 46.1917 62.5864 46.3461C61.8154 46.5005 61.0164 46.4206 60.2905 46.1166C59.5646 45.8126 58.9444 45.2982 58.5085 44.6384C58.0726 43.9786 57.8406 43.2031 57.8418 42.4102C57.8434 41.3499 58.2617 40.3334 59.005 39.5836C59.7482 38.8338 60.7558 38.4118 61.8069 38.4102Z'
                fill='white'
            />
        </g>
        <defs>
            <clipPath id='clip0_615_72261'>
                <rect
                    width='66.9362'
                    height='59.7447'
                    fill='white'
                    transform='translate(18.5312 22.1287)'
                />
            </clipPath>
        </defs>
    </svg>
);
